package com.chaos.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chaos.system.entity.RbacUserRole;
import org.apache.ibatis.annotations.Param;

import java.util.Set;
/**
 * @author Jacky
 * @since 2024-05-07
 */
public interface RbacUserRoleMapper extends BaseMapper<RbacUserRole> {

    Set<Long> selectRolesByUserId(@Param("userId") Long userId, @Param("tenantId") Long tenantId);

}
